//
//  KDMAPPConfig.h
//  KouDaiMaster
//
//  Created by 范智渊 on 2018/4/12.
//  Copyright © 2018年 zzgk. All rights reserved.
//

#import <Foundation/Foundation.h>
// .h
#define singleton_interface(class) +(instancetype)shared##class ;

// .m
#define singleton_implementation(class) \
static class *_instance; \
\
+ (id)allocWithZone:(struct _NSZone *)zone \
{ \
static dispatch_once_t onceToken; \
dispatch_once(&onceToken, ^{ \
_instance = [super allocWithZone:zone]; \
}); \
\
return _instance; \
} \
\
+ (instancetype)shared##class \
{ \
if (_instance == nil) { \
_instance = [[class alloc] init]; \
} \
\
return _instance; \
}
extern NSString* YMW_NAVIGATION_BAR_BACKGROUND;

extern NSString* YMW_NAVIGATION_WINECELLAR_BARBACKGROUND; //--11.20 酒窖

#pragma mark Reachability HostName

extern NSString* YMW_REACHABILITY_HOST;

#pragma mark 提示用语

extern NSString* YMW_RequestError;
extern NSString* YMW_NETWORK_NOTREACHABLE;
extern NSString* YMW_FIND_NEW_VERSION_SEL;
extern NSString* YMW_FIND_NEW_VERSION_FORCE;
extern NSString* YMW_BTN_CANCELTITLE;

extern NSString* YMW_BTN_CONFIRMTITLE;

#pragma mark systemFont

extern NSString* YMW_SYSTEMFONTNAME;

extern NSString* YMW_SYSTEMBOLDFONTNAME;

extern NSString* YMW_APP_NAME;
#define AppKey                      @"27FCF4A3CBECB708D0022FAEFD1F0ED5"
#define AppSecret                   @"c832393c3039ed1d9d084d2343994f892e43ed04"
#define JShareAppKey                @"a9826f9fcde05d7783a9607d"
#define JPushAppKey                 @"f73e221fa5d97dfe17b015ea"
#define QQAPPID                     @"1106529432"
#define QQAPPKey                    @"CzhxD0J6eoV39s6o"
#define WXAppID                     @"wx66113d0411e5fad9"
#define WXAppSecret                 @"dea0bdf4f2e183afc9cff665a0ea1297"

#define  API_DOMAIN                 @"http://47.104.81.113:8080"

#define USER_NAME @"username"   //保存在本地的用户名
#define SERVER_NAME @"www.yesmywine.com" //
#define APPScheme @"yesmywine"


// 自定义通知标示符
#define NOTIFICATION_login_success       @"NOTIFICATION_login_success"    // 登陆成功通知
#define NOTIFICATION_reg_sucess           @"NOTIFICATION_reg_success"    // 登陆成功通知
#define NOTIFICATION_login_out           @"NOTIFICATION_login_out"        // 注销通知
#define NOTIFICATION_shopcart_change     @"NOTIFICATION_shopcart_change"  // 购物车改变通知



